package com.my.study.juc.basic.pattern;

import com.my.study.juc.basic.pattern.tuba.Consumer;
import com.my.study.juc.basic.pattern.tuba.Productor;
import com.my.study.juc.basic.pattern.tuba.SynContainer;

/**
 * @author Carlos
 * @version 1.0
 * @Description TODO
 * @date 2021/4/11 20:23
 **/
public class Test {

    public static void main(String[] args) {
        SynContainer synContainer = new SynContainer();

        new Productor(synContainer, "Productor").start();
        new Consumer(synContainer, "Consumer").start();

    }

}
